/**
 * @license
 * Copyright 2024 The Model Explorer Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ==============================================================================
 */

.container {
  box-shadow: var(--me-bubble-shadow);
  transform-origin: top center;
  font-size: 13px;
  padding: 8px 0;
  border-radius: 8px;
  background-color: var(--me-surface-container-low-color);

  .candidate-container {
    padding: 8px 16px;

    &.selected {
      background-color: var(--me-secondary-container-color);
    }

    &:hover:not(.selected) {
      background-color: var(--me-surface-container-color);
      cursor: pointer;
    }

    .name {
      font-size: 14px;
      color: var(--me-on-surface-color);
      line-height: 20px;
      margin-bottom: 2px;
      display: flex;
      align-items: center;

      .default-label {
        display: inline-block;
        padding: 0px 10px;
        box-sizing: border-box;
        background-color: var(--me-warning-container-color);
        color: var(--me-warning-text-color);
        border: 1px solid var(--me-warning-text-color);
        font-size: 11px;
        line-height: 14px;
        border-radius: 99px;
        margin-left: 8px;
      }
    }

    .description {
      font-size: 12px;
      color: var(--me-on-surface-variant-color);
    }
  }
}
